package com.x.Part5_接口.继承性;

/**
 * ClassName: interfaceTest
 * Package: IntelliJ IDEA
 * Description:
 * Written by HanXu
 * Create 2024.03.05 16:09
 */
////////////////////////
interface A{
    void method1();
}

interface B{
    void method2();
}

//C接口为A、B的子接口
interface C extends A,B{
    void method3();
}

class interfaceTest implements C{

    @Override
    public void method1() {

    }

    @Override
    public void method2() {

    }

    @Override
    public void method3() {

    }
}